package com.nantai.jiafang.nantaijiafang.nt5s.bean;

import android.os.Parcel;
import android.os.Parcelable;

/**
 * Created by Administrator on 2017/8/22 0016.
 */

public class QualityRegulations implements Parcelable{

    private String RegulationNo;
    private String Standard;
    private String CardNum;
    private String ID;
    private String Regulation;

    public QualityRegulations(){

    }
    public void setID(String ID) {
        this.ID = ID;
    }

    public String getID() {
        return ID;
    }

    public String getRegulationNo() {
        return RegulationNo;
    }

    public void setRegulationNo(String regulationNo) {
        RegulationNo = regulationNo;
    }

    public String getStandard() {
        return Standard;
    }

    public void setStandard(String standard) {
        Standard = standard;
    }

    public String getCardNum() {
        return CardNum;
    }

    public void setCardNum(String cardNum) {
        CardNum = cardNum;
    }

    public void setRegulation(String regulation) {
        Regulation = regulation;
    }

    public String getRegulation() {
        return Regulation;
    }

    @Override
    public int describeContents() {
        return 0;
    }

    @Override
    public void writeToParcel(Parcel dest, int flags) {
        dest.writeString(RegulationNo);
        dest.writeString(Standard);
        dest.writeString(CardNum);
        dest.writeString(ID);
        dest.writeString(Regulation);
    }

    public static final Creator<QualityRegulations> CREATOR = new Creator<QualityRegulations>() {
        @Override
        public QualityRegulations createFromParcel(Parcel source) {
            return new QualityRegulations(source);
        }

        @Override
        public QualityRegulations[] newArray(int size) {
            return new QualityRegulations[size];
        }
    };

    public QualityRegulations(Parcel source){
        this.RegulationNo =  source.readString();
        this.Standard = source.readString();
        this.CardNum = source.readString();
        this.ID = source.readString();
        this.Regulation = source.readString();
    }

}
